package com.cdc.sboot.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

//这两个注解等同与@RestController
@Controller
@ResponseBody
public class ControlResponseBody3 {
	@RequestMapping(value="/hello3" ,method=RequestMethod.GET)
	public String s() {
		return "hello3 ControlResponseBody";
	}

}
